package org.example.seckill.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author woopsion
 * @date 2025-06-28
 */
@Getter
@AllArgsConstructor
@ToString
public enum RespBeanEnum {
    
    SUCCESS(200,"success"),
    Error(500,"服务器异常"),
    LOGIN_ERROR(500210,"用户密码或者id不正确"),
    MOBILE_ERROR(500211,"手机号码格式错误"),
    MOBILE_NOT_EXIST(500213,"号码不存在"),
    AUTHENTICATION_ERROR(500214,"用户未登录，无操作权限");
    
    private final Integer code;
    private final String message;
    
    
}
